import React, { Component } from 'react'
// import Old from './Old'
import New from './New'

export default class Index extends Component {
  state = {
    count: 100,
    isShow: true
  }

  render () {
    return (
      <div>
        Index
        {/* {this.state.isShow && <Old count={this.state.count} />} */}
        {this.state.isShow && <New count={this.state.count} />}
      </div>
    )
  }
}
